Release Note: PowerReplace 6.3 <1997.12.20> Bugs fixed • Fixed the "Quit and Cancel" bug. • Fixed the "Replier & Fermer" bug. New features • Added Stack Windows command in the Control menu. Use this command to move all windows to its standard position. • You can now add string to the begin and the end of the text files. Syntax: "*BOF*" "The begin of my file.\r" "*EOF*" "\rThe end of my file." ___________________________________________________ PowerReplace 6.2.5<1997.9.13> • Fixed a serious bug in the replace engine. This bug occurs when the first-stuff and second-stuff are both strings and they have the same length. I recommend all user to update their PowerReplace. PowerReplace 6.2.4 <1997.8.27> • Fixed a small bug in SelfReplace application. PowerReplace 6.2.3 <1997.8.4> • Fixed the output text length bug. PowerReplace 6.2.2 <1997.7.20> • Fixed the cursor color bug. PowerReplace 6.2.1 <1997.7.17> • Fixed the SelfReplace icon position bug. PowerReplace 6.2 <1997.7.9> Change in Application • Fixed the big-progress-message bug. Now you can give a very long message for the progress window. • Added Unanchor/Anchor Toolbar command in the Control menu. You can move the toolbar window. • Added preferences for the window position, toolbar status, user's guide topic item, text font and style. • Shortcuts. To select a filter and avoid opening it: ⌘ + Select Filter. • Extract filter from SelfReplace using PowerReplace. Select Open Filter… from the File menu and choose a: - Filter file = Open it, - Plain text file = Import it as filter, - SelfReplace application = Extract filter from it. • You can protect your filter by setting password in SelfReplace application. This password will be asked when extracting filter from SelfReplace application. • Simplified the text option dialog for the input window and output window. • Don't ask save for input and output window when quitting the application. • Added author name and filter version number in filter information and in SelfReplace application. Change in Documentation • An uncompatibility problem between versions 5.x and 6.x in regular expression(pattern): In version 5, '$' matches the end of line, but doesn't match the '\r' at the end of line. In version 6, '$' matches the end of line, including the '\r' at the end of line. Example: To replace "abcd" at the end of line by "xyz", the filters are: 'abcd$' "xyz" % for version 5 'abcd$' "xyz\r" % for version 6 ___________________________________________________ PowerReplace 6.1 <1997.6.16> Change in Application • Fixed a bug in the replace engine. Thanks to Lothar Albaum. • Optimise for speed in many cases. Run more fast than previous version. • Simplifiy the user interface. Thanks to Godefroy Troude. Change in Regular Expression • Uppercase and lowercase are not ignored. • Support \t \r \n in regular expression. • Blanc line works correctly. Examples: '^ +' "" % OK. strip spaces at beginning of line. '^[\t ]+' "" % OK. strip spaces and tab at beginning of line. '^\r' "--\r" % OK. replace blanc line by --. '^$' "--\r" % OK. replace blanc line by --. '^$' "" % OK. remove blanc line '\r+' "\r" % OK. remove blanc line Change in Documentation • meta. The modification of the meta "\" is not valid for the regular expression. It is only valid for the first-string and second-string (with "). • NULL character in input file (Limitation) If your input file contains NULL characters (ascii = 0), PowerReplace may not work correctly. To solve this problem, you can save all NULL characters at the begin, and restore them at the end of your filter file. Your filter looks like: "\d000" "[NULL]" % make sur no [NULL] in input file ...... ...... ...... "[NULL]" "\d000" • Big Insertion (Limitation) If you use insertion tag "\>" in the second-string, then the first-string-found (the "source") must have less than 4096 characters. Bad example: Your input text is of length 10KB, and looks like Begin of file Chapter 1: Introduction ...... ...... ...... Chapter 9 : Conclusion Ene of file The following filter may cause error: "Chapter * :" "toto" because between "Chapter 1" and ":", there is no space. If there is no " :" in the middle of your input text, then the first-string-found is: Chapter 1: Introduction ...... ...... ...... Chapter 2 : __________________________________________________________ PowerReplace 6.0 <1997.6.2> New features: Line Editor for filter line Using Line Editor to Edit Long Line A good line in the filter window is like the following: first-stuff second-stuff the-rest If you have a long line in the filter window to edit, keep the cursor in that line and select "Line Editor" from the Edit menu. The Line Editor window displays. In this window, the first stuff, second stuff and the rest of that long line will be separated in three text fields. You can edit them more easily. ◊ We know that, in the first and second stuffs, \" represents ". In the line editor, we do NOT use this representation because there is no confusion. When back to the filter window by clicking the OK button, the line editor will replace " by \" automatically before making the long line. ◊ In the line editor, you can type CR or LF. When back to the filter window by clicking the OK button, the line editor will remove all CR and LF before making the long line. ◊ If the selected line is not a "good line", i.e., has no first stuff, or second stuff, then the line editor window does not display. __________________________________________________________ Version 5.7.2 <1997.05.20> Version 5.7.1<1997.04.17>(Bug Fixed) Version 5.7<1996.4.16> (New features) New features: • Drop folder onto the application icon. If you drop folder onto the icon, PowerReplace converts all files in this folder and in the sub-folders of this folder by recurrence. If you can not drop folder onto the application icon, delete old version PowerReplace and all SelfReplace, then reconstruct the desktop. • Restore filter file from SelfReplace. To restore filter file from SelfReplace application (version >=5.7) , open SelfReplace application under Finder by double-click. Then click the button "Create Filter File". • Convert Clipboard from SelfReplace. To convert clipboard from SelfReplace application (version >=5.7) , open SelfReplace application under Finder by double-click. Then click the button "Convert Clipboard". • SelfReplace application code: 68K, PPC, FAT. Menu "Save As...". Choose the button "68K", "PPC", or "FAT". • Simple Output File Name. The formula for the output file name is: output file name = input name - deleteString + addString. For example, if input file name is "index.html", deleteString is ".html", and addString is ".tex". Then the output file name will be "index.tex". If the deleteString can not be found, at the end of the input file name, then ignore the deleteString. Change deleteString and addString in the "Information Window" of the filter. • Specify input file. You can specify input files. 4 cases: - all type, - all text file of type 'TEXT', - the name extension is the string ".html", - the name extension is NOT the string ".gif". You can change ".html" and ".gif" by other strings. Change this option in the "Information Window" of the filter. Version 5.6 <1997.03.07> Version 5.6 b4<1997.03.04>(Bug Fixed) Version 5.6 b2<1996.10.30> (New features) New features: - Added Control menu. - Added “Input”, “Output” windows, and “Convert In->In”, “Convert In->Out” buttons. Now, You can write and debug complicate filter very easily. - Can set the type of filter by using #type 1 or #type 2. - Support for multi-insertion tag in the second string. - Show marked filter's name in toolbar. - Added new filters Bugs fixed: - If no resource data, create it. - very long line in filter. Version 5.5 <1996.10.11> (New features) New features: - Added “Convert Clipboard” support. You do not need save your text as file to do the converion. See the section Converting the Clipboard in the Chapter 4: Tutorial. - Added on-line help system. To get it, select PowerReplace User’ Guide… from the help menu. - Added the type '****' to the resource 'BNDL'. You can now drag/drop files of any type(not only the type 'TEXT'). - PowerReplace Installer. __________________________________________________________ Version 5.2.4 <1996.09.20> (Bugs fixed) Bugs fixed: - Fixed a minor bug about SelfReplace. Version 5.2.3 <1996.09.6> (New features) New features: - Added two filters “ShowASCII.Long” and “ShowASCII.Short”. Using them, PowerReplace can help you to get the ASCII of character. See Chapter 8: Frequently Asked Questions. - Memory problem? See Chapter 8: Frequently Asked Questions. - Registration by email: A way sure and quick. See Appendix B: Registration by Email. - Added support for AppleScript. You can do your conversion more easily by using AppleScript. See the examples in the Example Script folder. - Added “Error message window” to help you to write and debug filter. Version 5.2.2 <1996.08.31>(Bugs fixed) Bugs fixed: - Fixed a bug causing that PowerReplace quit, if one wants to open filter-file by double-click on its icon. - Fixed a bug concerning the automatic alignment. Version 5.2 <1996.08.18> (Bugs fixed, New features) Bugs fixed: - Fixed a bug which could cause losing of input file in the previous version, if the name of this input file is too long (>26 characters) and "Replace input file" option is selected . - Fixed a bug causing that, rarely of course, it doesn’t save the output file after conversion in the previous version. - This version works correctly if the filter file is locked. New features: - Added support for undo typing. - Added support for automatic alignment in editor. When you click “Check Syntax” button, it will also align the filter file text as two columns. You can disable cette option via menu “Edit/Text Option”. - Use of temporary memory. PowerReplace 5.2 uses all the available memory on your mac as temporary memory to works. You shouldn’t have to increase PowerReplace’s memory partition for large input files. - Added “Technical Note”. __________________________________________________________ Version 5.0 <1996.06.11> Bugs fixed: - “Stop button” in the progress window now works. New features: - Added interface to edit filter file. It is now more easily to create filter file and to check syntax. See the Readme file. - User can change the meta-character. - Added insertion tag in the second string. - Use PowerPlant framework. Changes: - Use “Save As…” menu to create SelfReplace application. Old application “SelfReplace Maker” is obsolete. __________________________________________________________ Version 4.5.5 <1996.04.16> - Fixed a bug about parsing of pattern. - Added delay counter for unregistered copy. - Fixed a bug concerning menubar update. Version 4.5.3 <1996.03.16> - Fixed a bug about creating of new filter file. Version 4.5.2 <1996.03.09> - Fixed a bug about parsing of filter file. - Added option for show the success window after conversion. Version 4.5.1 <1996.03.04> - Added watch cursor. - After conversion, a note window shows the number of occurrences replaced. - Fixed the progress window bug. - Show file name in the progress window. - If click at the icon of a filter file, just open PowerReplace application. Don't convert this file. - New file location = old file location + 16 - If error during conversion, delete the temporary file. Version 4.5 <1996.02.26> - All character set supports. For example, "\d065" "\x41" "\o101" (or "\101") all means the same character "A". - Hexadecimal string supports - Regular expression (Pattern) supports - Type I , II automatic (Char Convert Only Mode) - Scans all filter in the Filter folder - Mask filters by labelling (coloring) - current filter’s name appears on the menu bar - Minimizes the application size by removing codes - Fixed the “%end” bug __________________________________________________________ Version 4.1 <1995.12.18> - Fat version for 68k Macintosh and Power Macintosh (PPC native). - Other small changes. Version 4.0 <1995.12.02> - First shareware version. - Included SelfReplace Maker1.0. - Added “for beginners” documentation. __________________________________________________________ Version 3.1 <1995.11.21> - Fixed a bug concerning MakeFilterFile Window update. - Fixed a bug concerning the length of file. - Added Balloons Help system. - Remember the filter file by its name instead of its item number of the menu “Filter”. - Scan filter file only in the “Filter” folder. Version 3.0 <1995.11.06> - Small changes. - Added FAQ file. - Used movable dialog. Version 2.2 <1995.10.30> - Changed name to “PowerReplace” because the name “DropConvert” is used. Version 2.1 <1995.10.24> - First public release as “DropConvert”. - Added Make FilterFile menu. __________________________________________________________ Version 1.2 <1995.04.17> - Used the Drag/Drop technology. __________________________________________________________ Version 1.0 <1993.04.12> - A very simple version for my personal use only.